<template>
	<span>
	<button>-</button>	
		<input type="text" v-model.number="count">
	<button @click="count++">+</button>
	</span>
</template>

<script>
	export default{
		data(){
			return {
				count:this.num
			}
		},
		props:{
			"num":{type:Number,default:1}
		}
	}
</script>

<style>
</style>
